<% layout('/layouts/default.html', {title: 'sd_doc_destoy_record管理', libs: ['dataGrid']}){ %>
<div class="main-content">
    <div class="box box-main">
        <div class="box-header">
            <div class="box-title">
              <i class="fa icon-notebook"></i> ${text('信息如下')}
            </div>
            <div class="box-tools pull-right">
            </div>
        </div>
        <div class="box-body">
            <#form:form id="searchForm" model="${docDestoyRecord}" action="${ctx}/sd/docDestoyRecord/getList1?id=${id}" method="post" class="form-inline hide"
            data-page-no="${parameter.pageNo}" data-page-size="${parameter.pageSize}" data-order-by="${parameter.orderBy}">
            <!--
            <div class="form-group">
                <label class="control-label">${text('销毁任务Id')}：</label>
                <div class="control-inline">
                    <#form:input path="destoyId" maxlength="64" class="form-control width-120"/>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label">${text('文件记录Id')}：</label>
                <div class="control-inline">
                    <#form:input path="deliverId" maxlength="64" class="form-control width-120"/>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label">${text('收文Id')}：</label>
                <div class="control-inline">
                    <#form:input path="recvId" maxlength="64" class="form-control width-120"/>
                </div>
            </div>
            <div class="form-group">
                <button type="submit" class="btn btn-primary btn-sm">${text('查询')}</button>
                <button type="reset" class="btn btn-default btn-sm">${text('重置')}</button>
            </div>-->
        </#form:form>
        <table id="dataGrid"></table>
        <div id="dataGridPage"></div>
    </div>
</div>
</div>
<% } %>
<script>
    // 初始化DataGrid对象
    $('#dataGrid').dataGrid({
        searchForm: $("#searchForm"),
        columnModel: [

            {header:'${text("文件文号")}', name:'docNum',  width:150, align:"left"},
            {header:'${text("文件标题")}', name:'title',  align:"left"},
            {header:'${text("文件编号")}', name:'docCopyNo',  width:60, align:"left"},
            {header:'${text("文件分发编号")}', name:'doCode',  width:150, align:"left"},
            {header:'${text("销毁任务编号")}', name:'destoyId', index:'a.destoy_id', width:150, align:"left"},


    ],
        // 加载成功后执行事件
        ajaxSuccess: function(data){

        }
    });
</script>